//
//  AppSetting.h
//  Henkel
//
//  Created by Vergil on 2017/2/3.
//  Copyright © 2017年 Vergil. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AppSetting : NSObject

@property (nonatomic, copy) NSString *userName;//用户名
@property (nonatomic, copy) NSString *accessToken;//accessToken
@property (nonatomic, assign) BOOL keepLogin;//登录状态
@property (nonatomic, copy) NSString *job;//职位
@property (nonatomic, copy) NSString *storeNo;//门店编号
@property (nonatomic, copy) NSString *storeId;//门店id
@property (nonatomic, assign) BOOL autoLogin;//自动登录
@property (nonatomic, assign) BOOL rememberPassword;//记住密码

+ (instancetype)shareAppSetting;

/**
 获取密码

 @param userName 用户名
 @return 密码
 */
- (NSString *)passwordForUserName:(NSString *)userName;


/**
 设置密码

 @param passWord 密码
 @param userName 用户名
 */
- (void)setPassWord:(NSString *)passWord userName:(NSString *)userName;

@end
